package com.jingdianjichi.subject.domain.convert;


import com.jingdianjichi.subject.common.entity.PageResponse;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectBrief;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * SubjectCategoryConverter 类
 *
 * @author 熊苏鹏1
 * @date 2025/1/30 17:19
 * @description 无
 */
@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE = Mappers.getMapper(SubjectInfoConverter.class);
    SubjectInfo convertBoToInfo(SubjectInfoBO subjectInfoBO);
    List<SubjectInfoBO> convertInfoListToBoList (List<SubjectInfo> subjectInfoList);
    SubjectInfoBO convertEntityAndBoToBo(SubjectInfo subjectInfo, SubjectAnswerBO subjectAnswerBO);


}
